<?php
use yii\helpers\Html;
use yii\helpers\Url;
/* @var $model app\models\Showorder */
/* @var $this yii\web\View */
?>
<div class="col-sm-3">
    <div class="ibox">
        <div class="ibox-title">
            <small><?=Html::img(app\models\UploadForm::SHOW_DIR.$model->uimg,['width'=>'30px','height'=>'30px'])?></small>
            <small><?=$model->uname?></small>
        </div>
        <div class="ibox-content">
            <p><?=$model->content?></p>
            <small><?=date('Y-m-d G:i',$model->created_at)?></small>
            <div class="row">
            <?php foreach($model->showpics as $showpic):?>
                <?=Html::img(app\models\UploadForm::SHOW_DIR.$showpic->url,['width'=>'60px','height'=>'60px'])?>
            <?php endforeach;?>
            </div>
        </div>
    </div>
</div>